package com.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.sys.User;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author clay
 * @since 2022-02-15
 */
public interface UserMapper extends BaseMapper<User> {

    void updateLastLoginTimeByUserName(@Param("lastLoginTime") String lastLoginTime, @Param("username") String username);

    Boolean resetPassword(@Param("password") String password, @Param("id") String id);
}
